<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="content-type" content="text/html;charset=utf-8" />        
        <meta name="keywords" content="Jadroagent Bar CMS" />
        <meta name="description" content="Jadroagent Bar CMS" />
        <meta name="Language" content="en" />
        <meta name="Robots" content="index,follow" />
        <meta name="Author" content="Kukic Ivan # ikukic@yahoo.com" />
        <meta name="revisit-after" content="2 days" />
        <meta name="Distribution" content="global" />

        <title>Jadroagent BAR | CMS</title>  


        <!-- Set base and site url JS -->
        <script type="text/javascript">
            var base_url = '<?=base_url()?>';
            var site_url = '<?=site_url()?>';
            var page = '<?=$page?>'; 
        </script>    



        <link type="image/x-icon" href="<?=base_url()?>assets/img/pngico.png" rel="icon">
        <link href="<?=base_url()?>assets/css/type.css" rel="stylesheet" type="text/css">
        <link href="<?=base_url()?>assets/css/styles.css" rel="stylesheet" type="text/css">
        <script src="<?=base_url()?>assets/js/jquery-1.6.2.min.js" type="text/javascript"></script>
        <script src="<?=base_url()?>assets/js/jquery.busy.min.js" type="text/javascript"></script>
        <script src="<?=base_url()?>assets/js/tinymce/tiny_mce.js" type="text/javascript"></script>
        <script src="<?=base_url()?>assets/js/text/edit.js" type="text/javascript"></script>





    </head>

    <body>


        <div id="head" > 
            <div id="wrapp">
                <div id="logo"><a href="<?=base_url();?>cms"><img src="<?=base_url();?>assets/img/jadroHome.png" width="180" height="65" alt="Jadroagent Bar" style="border:none;" /></a>
                </div>

                <? if($this->session->userdata('logged_in')) {?>

                    <div id="nav-w">
                        <div class="flags">
                            <a href="<?=base_url();?>cms/language/me" style="margin-right: 3px;">
                                <img src="<?=base_url();?>assets/img/flags/me.gif" alt="crnogorski" width="26" height="15" border="0" />
                            </a>
                            <a href="<?=base_url();?>cms/language/en">
                                <img src="<?=base_url();?>assets/img/flags/en.gif" alt="crnogorski" width="26" height="15" border="0" />
                            </a>
                        </div>
                        <div id="top-n"> - <a href="<?=base_url();?>login/logout"><?=$this->lang->line('logout')?></a></div>
                    </div>

                    <?}?>
            </div>
        </div>
        <style>
            .flags{
                margin: 13px 0 0 0;
            }
        </style>
        <div id="banner-cms"> 

            <div id="b-text" style="padding-top: 20px;"><?=$contlayout ?> </div>

        </div>

        <div id="footer"> 
            <div id="mapa">
                <div id="sgs"><img src="<?=base_url()?>assets/img/SGSLogo.png" width="132" height="57" alt="SGS Jadroagent Bar" /></div>
            </div>

            <div id="foot-text">
                <div id="copyright"><?=$this->lang->line('footer')?><br />
                    <?=$this->lang->line('footer-design')?> <a href="http://www.daa.co.me" target="_blank">DAA Montenegro</a>.<br />
                    <?=$this->lang->line('footer-development')?> <a href="#" target="_blank">Abordage</a>.</div> 
            </div>
        </div>

        <!-- Printing Language to JS Array -->
        <script type="text/javascript"> 
            var language = new Array();
        </script>
        <?

            foreach($this->lang->lng_lines() as $key=>$value){

            ?>
            <script type="text/javascript">
                language['<?=$key?>'] = '<?=$value?>';
                //console.log('key:'+'<?=$key?>'+' -> value: '+'<?=$value?>');
            </script>
            <?

            }
        ?>
        <!-- END Printing Language to JS Array -->


    </body>

</html>
